﻿using System;

namespace Utils
{
	public static class DateTime2
	{
		public static DateTime Min(DateTime one, DateTime other)
		{
			return one.CompareTo(other) <= 0 ? one : other;
		}

		public static DateTime Max(DateTime one, DateTime other)
		{
			return one.CompareTo(other) >= 0 ? one : other;
		}
	}
}
